package com.chen.vo;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.math.BigDecimal;

/**
 * @author cws
 * @since 提交前的商品清单
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class CartProduct {
    private Long productId;

    private Integer quantity;

    private String defaultPic;

    private String productAttr;

    private BigDecimal price;

    //    小计
    private BigDecimal totalPrice;

    //    促销减去的金额
    private BigDecimal promotionAmount;
    //   使用促销
    private String promotionName;

    private String productName;

    private Integer promotionType;

    private Long productSkuId;

    private String brandName;

    private Long cartId;

//    赠送的积分
    private Integer giftPoint;
}

